/*
 * @Description:
 * @Author: qingyang
 * @Date: 2022-09-08 11:23:57
 * @LastEditors: qingyang
 * @LastEditTime: 2022-09-08 16:58:59
 */
export const rules = {
  roleName: [
    {
      required: true,
      message: '必填项',
      trigger: ['submit', 'change']
    }
  ],
  roleDesc: [
    {
      required: true,
      message: '必填项',
      trigger: ['submit', 'change']
    }
  ],
  menuIds: [
    {
      type: 'array',
      required: true,
      message: '必填项',
      trigger: ['submit', 'change']
    }
  ]
};
